package com.bx.service.impl;

import com.bx.mapper.UserMapper;
import com.bx.pojo.User;
import com.bx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Name UserServiceImpl
 * @Author BaiXin
 * @Date 2022-10-22 18:04
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
}
